package demo1;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: zhongyisheng
 * Date: 2024-07-05
 * Time: 14:10
 */
public class Test {
    public static void main(String[] args)
            throws CloneNotSupportedException{
        Person person1 = new Person("zhangsan",10);

        Person person2 = (Person) person1.clone();
    }
}
